package com.example.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Interviewee {
    //序号
    private Integer id;

    //被面试者的名字
    private String name;

    //被面试者的性别
    private Integer sex;

    //被面试者的年龄
    private Integer age;

    //被面试者的面试部门
    private Integer departmentId;

    //面试者的联系方式
    private String email;

    //被面试者的标注
    private String remark;

    //被面试者的创建（加入）时间
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createDate;
}
